CashReceiptClient
class CashReceiptClient(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null) : Closeable
API Secret을 사용해 포트원 API 클라이언트를 생성합니다.
Parameters
apiSecret
포트원 API Secret입니다.
apiBase
포트원 REST API 주소입니다. 기본값은 "https://api.portone.io"
입니다.
storeId
하위 상점에 대해 기능을 사용할 때 필요한 하위 상점의 ID입니다.
Functions
Link copied to clipboard
현금 영수증 취소
Link copied to clipboard
현금 영수증 단건 조회
Link copied to clipboard
suspend fun getCashReceipts( page: PageInput? = null, sort: CashReceiptSortInput? = null, filter: CashReceiptFilterInput? = null): GetCashReceiptsResponse
현금영수증 다건 조회
Link copied to clipboard
suspend fun issueCashReceipt( paymentId: String, channelKey: String, type: CashReceiptType, orderName: String, currency: Currency, amount: PaymentAmountInput, productType: PaymentProductType? = null, customer: IssueCashReceiptCustomerInput, paidAt: Instant? = null, businessRegistrationNumber: String? = null, paymentMethod: IssueCashReceiptPaymentMethodType? = null): IssueCashReceiptResponse
현금 영수증 수동 발급